import 'package:flutter/material.dart';

///  项目名称：flutter_audit_app
///  Created by leon on 2020/10/20 .

///  my_app_bar
///
class MyAppBar extends AppBar {
  MyAppBar({
    Widget title,
    Color backgroundColor = Colors.lightBlueAccent,
    List<Widget> actions,
    bool canBack = true,
    bool centerTitle,
    Color iconTheme = Colors.white,
  }) : super(
          title: title,
          backgroundColor: backgroundColor,
          actions: actions,
          automaticallyImplyLeading: canBack,
          centerTitle: centerTitle,
          iconTheme: IconThemeData(color: iconTheme),
        );
}
